import request from '@/utils/request';

export async function addMembers(params = {}) {
  return request('/amaidan-sys-user/merchants/sysStaff/add', {
    method: 'POST',
    data: params,
  });
}
export async function editMembers(params = {}) {
  return request('/amaidan-sys-user/merchants/sysStaff/update', {
    method: 'POST',
    data: params,
  });
}
export async function fetchMembers(params = {}) {
  return request(`/amaidan-sys-user/merchants/sysStaff/list`, {
    method: 'POST',
    data: params,
  });
}
export async function delMembers(params = {}) {
  return request('/amaidan-sys-user/merchants/sysStaff/delete', {
    method: 'POST',
    data: params,
  });
}